package cn.kgc.pojo;


import java.util.Date;

public class Blog {

  private int id;
  private String content;
  private Date publishtime;
  private int userid;

  public Blog() {
  }

  public Blog(String content, Date publishtime, int userid) {
    this.content = content;
    this.publishtime = publishtime;
    this.userid = userid;
  }

  public int getId() {
    return id;
  }

  public void setId(int id) {
    this.id = id;
  }


  public String getContent() {
    return content;
  }

  public void setContent(String content) {
    this.content = content;
  }

  public Date getPublishtime() {
    return publishtime;
  }

  public void setPublishtime(Date publishtime) {
    this.publishtime = publishtime;
  }


  public int getUserid() {
    return userid;
  }

  public void setUserid(int userid) {
    this.userid = userid;
  }

}
